(global.webpackJsonp = global.webpackJsonp || []).push([ [ "pages/home/components/new-coupon-login/coupons/coupon-card" ], {
    "80e2": function(n, o, e) {
        e.r(o);
        var t = e("efa4"), c = e("dde8");
        for (var u in c) [ "default" ].indexOf(u) < 0 && function(n) {
            e.d(o, n, function() {
                return c[n];
            });
        }(u);
        e("9003");
        var a = e("f0c5"), r = Object(a.a)(c.default, t.b, t.c, !1, null, "b5fd574a", null, !1, t.a, void 0);
        o.default = r.exports;
    },
    9003: function(n, o, e) {
        var t = e("dc92");
        e.n(t).a;
    },
    b284: function(n, o, e) {
        Object.defineProperty(o, "__esModule", {
            value: !0
        }), o.default = void 0;
        var t = {
            name: "CouponCard",
            props: {
                coupon: {
                    type: Object,
                    default: function() {
                        return {};
                    }
                }
            },
            data: function() {
                return {};
            },
            computed: {
                shownAmount: function() {
                    var n = this.coupon, o = n.discount_type, e = n.discount_amount, t = n.discount_rate;
                    return 1 === o ? e / 100 : t / 10;
                },
                isSmallAmount: function() {
                    return String(this.shownAmount).length >= 5;
                },
                shownUnit: function() {
                    return 1 === this.coupon.discount_type ? "元" : "折";
                }
            },
            created: function() {},
            methods: {}
        };
        o.default = t;
    },
    dc92: function(n, o, e) {},
    dde8: function(n, o, e) {
        e.r(o);
        var t = e("b284"), c = e.n(t);
        for (var u in t) [ "default" ].indexOf(u) < 0 && function(n) {
            e.d(o, n, function() {
                return t[n];
            });
        }(u);
        o.default = c.a;
    },
    efa4: function(n, o, e) {
        e.d(o, "b", function() {
            return t;
        }), e.d(o, "c", function() {
            return c;
        }), e.d(o, "a", function() {});
        var t = function() {
            this.$createElement;
            this._self._c;
        }, c = [];
    }
} ]), (global.webpackJsonp = global.webpackJsonp || []).push([ "pages/home/components/new-coupon-login/coupons/coupon-card-create-component", {
    "pages/home/components/new-coupon-login/coupons/coupon-card-create-component": function(n, o, e) {
        e("543d").createComponent(e("80e2"));
    }
}, [ [ "pages/home/components/new-coupon-login/coupons/coupon-card-create-component" ] ] ]);